Imagely\NGG\DataMapper\WPPostDriver C

Total Complexity 105
Dependencies 5
Dependents 2
Total lines 592
Lines of code 340
Logical lines of code 228
Comment lines 170
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
add_where_clause()
D
32 38 96
run_query()
A
46 10 38
convert_post_to_entity()
A
53 9 24
_convert_entity_to_post()
S
52 6 25
_flush_and_update_postmeta()
S
54 6 19
save_entity()
S
55 5 20
destroy()
S
59 5 15
lookup_columns()
S
62 4 12
limit()
S
62 3 12
set_query_args()
S
67 3 7
order_by()
S
62 2 11
group_by()
S
63 2 11
__construct()
S
71 2 6
is_select_statement()
S
78 2 3
select()
S
61 1 13
_wpdb()
S
78 1 4
count()
S
72 1 5
_get_querable_table_columns()
S
76 1 3
get_table_name()
S
77 1 4
delete()
S
70 1 6
get_post_title()
S
79 1 3
get_post_excerpt()
S
82 1 3